//
//  StatusListViewModel.h
//  王雷Sinoweibo
//
//  Created by wanglei on 16/11/29.
//  Copyright © 2016年 wanglei. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Status.h"
#import "AccountViewModel.h"
#import "SVProgressHUD.h"
#import "AFNetworking.h"
#import "HTTPClient.h"
#import "SDWebImageManager.h"

@interface StatusListViewModel : NSObject
//切记,此处不对数组内部的类型进行指定的话,就会取不到值,妈的,耽误了三天时间
@property(nonatomic,strong)NSArray <Status *>*homeArray;
@property(nonatomic,assign)NSNumber *since_Id;
@property(nonatomic,assign)NSNumber *max_id;
@property(nonatomic,strong)NSMutableDictionary *parameters;
@property(nonatomic,strong)HTTPClient *tools;
- (void)loadHomeDate:(BOOL)isPullUp finished:(success)isSuccess;
+(instancetype)sharedAccountModel;
- (void)cacheStatusImage:(NSArray <Status *>*)array isSuccess:(success)isSuccess;
@end
